package cn.iocoder.an.module.business.controller.admin.equipmenttype.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 设备分类新增/修改 Request VO")
@Data
public class EquipmentTypeSaveReqVO {

    @Schema(description = "分类id", requiredMode = Schema.RequiredMode.REQUIRED, example = "20140")
    private Long id;

    @Schema(description = "分类名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "xx设备")
    @NotEmpty(message = "分类名称不能为空")
    private String name;


    @Schema(description = "描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "你说的对")
    private String description;

}